<template>
  <div class="hdty-header1">
    <div class="hdty-title">
      <h2>{{ title }}</h2>
    </div>
    <!-- 机构 -->
    <!-- 当前时间 -->
    <!-- 用户信息 -->
    <!-- 全屏/ -->
    <!-- 退出登录 -->
  </div>
</template>

<script setup lang="ts">
withDefaults(
  defineProps<{
    title: string
  }>(),
  { title: '矛盾纠纷主题看板' }
)
</script>

<style lang="scss" scoped>
.hdty-header1 {
  width: 100%;
  height: 100%;
  background-image: url('./images/headerBg1.png');
  background-size: 100% 100%;
  position: relative;
  z-index: 0;
  .hdty-title {
    font-size: 21px;
    color: #fff;
    width: 100%;
    text-align: center;
    padding-top: 13px;
    h2 {
      font-size: 1.2em;
      font-weight: bold;
      background: linear-gradient(to bottom,  #0099ff, #ffffff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-align: center;
      font-family: Arial, sans-serif;
      margin-top: -5px;
    }
  }
}
</style>
